<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html> 
<head> 
</head> 
<body> 
<div class="login"> 
  {% if user.is_authenticated %} 
    Welcome, {{ user.username }} 
	<a href="/guestbook/logout">Logout</a>
	{% else %}
	<a href="/guestbook/login">Login</a>
  {% endif %} 
</div> 
</body> 
</html>
